package cn.stylefeng.guns.modular.schedule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author allen
 * @date 2021/4/11 17:30
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "schedule_order_send_out_detail")
public class ScheduleOrderSendOutDetailEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单id
     */
    @TableField(value = "order_info_id")
    private Long orderInfoId;

    /**
     * 订单条目id
     */
    @TableField(value = "order_item_id")
    private Long orderItemId;

    /**
     * 货位库存明细id
     */
    @TableField(value = "goods_allocation_stock_detail_id")
    private Long goodsAllocationStockDetailId;

    /**
     * 发货数量
     */
    @TableField(value = "send_out_count")
    private Long sendOutCount;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_ORDER_INFO_ID = "order_info_id";

    public static final String COL_ORDER_ITEM_ID = "order_item_id";

    public static final String COL_GOODS_ALLOCATION_STOCK_DETAIL_ID = "goods_allocation_stock_detail_id";

    public static final String COL_SEND_OUT_COUNT = "send_out_count";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}